package com.mall.xiaomi.service.impl;

import com.mall.xiaomi.mapper.CarouselMapper;
import com.mall.xiaomi.pojo.Carousel;
import com.mall.xiaomi.service.CarouselService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName CarouselServiceImpl
 * @Description TODO
 * @action luoliang
 * @Data 2021/2/24 17:46
 * @Version 1.0
 */
@Service
public class CarouselServiceImpl implements CarouselService {

    @Autowired
    private CarouselMapper carouselMapper;
    /**
     * 轮播图演示
     * @return
     */
    @Override
    public List<Carousel> selectAll() {
        return carouselMapper.selectAll();
    }
}
